<template>
  <el-select :value="value" @input="onInput" placeholder="请选择">
    <el-option :label="item.lesseeName" :value="item.code" v-for="(item, index) in systems" :key="index"></el-option>
  </el-select>
</template>

<script>
export default {
  name: 'SelectLessee',
  props: {
    value: {
      type: String,
      default: ''
    }
  },
  components: {},
  data() {
    return {
      systems: []
    };
  },
  created() {
  },
  mounted() {},
  methods: {
    onInput(val){
      this.$emit('input', val)
    }
  },
  watch: {},
  computed: {},
};
</script>

<style lang="scss" scoped>
</style>
